﻿Imports System.Runtime.InteropServices

Friend NotInheritable Class NativeMethods

    Private Sub New()
    End Sub

    Public Const GWL_EXSTYLE As Integer = -20
    Public Const WS_EX_TRANSPARENT As Integer = &H20
    Public Const WS_EX_TOOLWINDOW As Integer = &H80

    <DllImport("user32.dll", SetLastError:=True)> _
    Public Shared Function GetWindowLong( _
        ByVal hWnd As IntPtr, _
        ByVal nIndex As Integer) As Integer
    End Function

    <DllImport("user32.dll")> _
    Public Shared Function SetWindowLong( _
        ByVal hWnd As IntPtr, _
        ByVal nIndex As Integer, _
        ByVal dwNewLong As IntPtr) As Integer
    End Function

End Class
